//
//  WQConvenienceHelp.swift
//  微博
//
//  Created by WangQiang on 2017/8/29.
//  Copyright © 2017年 WangQiang. All rights reserved.
//

import UIKit

class WQConvenienceHelp: NSObject {
    //
  static func classFromString(_ classString:String,for namespace:String = (Bundle.main.infoDictionary?["CFBundleName"] as? String ?? "") ) -> AnyClass? {
    print(Bundle.main.infoDictionary?["CFBundleName"] as? String ?? "")
       return NSClassFromString(namespace + "." +  classString)
    }
}
